#!/bin/env bash

touch stock.json

wget -qc https://buyvm.hasstock.net/api/stock.json

RESULT=$(node index.js)

./transfer.sh $RESULT

rm stock.json

